#include "stdafx.h"
#include "BLDC.h"
extern unsigned int AlarmState4Show;
void __attribute__((__interrupt__,auto_psv)) _T2Interrupt(void)
{
	if(BLDC_CurSpeed>25)
	{
		//_PTEN=0;
		BLDC_bSpeedError=1;
		AlarmState4Show |= 0x8080;
	}
	_T2IF=0;
}
